package com.gitee.tje.waving.factory;

import com.gitee.tje.waving.beans.BeanDefinition;

import java.util.Collection;

/**
 * 工厂类
 *
 * @author taojiaen
 * @date 2018-01-08 08:52
 */
public interface BeanFactory {
    Object getBean(String beanName);
    Collection<String> getBeanName(Class<?> clazz);
    void createAllSingleObj();
    void register(BeanDefinition beanDefinition);
    void destroy();
}
